
<div class="panel-body">
    <h3>用户信息</h3>
    <div class="fixed-table-body">
        <table id="" class="table table-striped table-bordered table-hover table-nowrap" data-operate-edit="1" data-operate-del="1" width="100%">
            <thead>
            <tr>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">用户昵称</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">会员等级</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">用户手机</div>
                    <div class="fht-cell"></div>
                </th>
            </tr>
            </thead>
            <tbody data-listidx="0">
            <tr data-index="0" class="selected">
                <td style="text-align: center; vertical-align: middle; ">{$row->username}</td>
                <td style="text-align: center; vertical-align: middle; ">{if $row->user}{$row->user->vip}{/if}</td>
                <td style="text-align: center; vertical-align: middle; ">{$row->phone}</td>
            </tr>
            </tbody>
        </table>
    </div>

    <h3>服务信息</h3>
    <div class="fixed-table-body">
        <table id="" class="table table-striped table-bordered table-hover table-nowrap" data-operate-edit="1" data-operate-del="1" width="100%">
            <thead>
            <tr>
                <th style="text-align: center; vertical-align: middle; " >
                    <div class="th-inner ">分类</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">服务名字</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">设计师/造型师</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">数量</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">单价</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">总价</div>
                    <div class="fht-cell"></div>
                </th>
            </tr>
            </thead>
            <tbody data-listidx="0">
            {foreach name="$row.service" item="vo"}
            <tr data-index="0" class="selected">
                <td style="text-align: center; vertical-align: middle; ">{if $vo->category}{$vo->category->title}{/if}</td>
                <td style="text-align: center; vertical-align: middle; ">{$vo->service_name}</td>
                <td style="text-align: center; vertical-align: middle; ">{if $vo->design}{$vo->design->nickname}{/if}</td>
                <td style="text-align: center; vertical-align: middle; ">{$vo->num}</td>
                <td style="text-align: center; vertical-align: middle; ">{$vo->price}</td>
                <td style="text-align: center; vertical-align: middle; ">{$vo->total_money}</td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <h3>付款信息</h3>
    <div class="fixed-table-body">
        <table id="" class="table table-striped table-bordered table-hover table-nowrap" data-operate-edit="1" data-operate-del="1" width="100%">
            <thead>
            <tr>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">付款方式</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">会员优惠金额</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">使用的优惠券</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">优惠金额</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">合计金额</div>
                    <div class="fht-cell"></div>
                </th>
                <th style="text-align: center; vertical-align: middle; ">
                    <div class="th-inner ">实收金额</div>
                    <div class="fht-cell"></div>
                </th>
            </tr>
            </thead>
            <tbody data-listidx="0">
            <tr data-index="0" class="selected">
                <td style="text-align: center; vertical-align: middle; ">
                    {if $row->payment == 1} 现金支付 {/if}
                    {if $row->payment == 2} 余额支付 {/if}
                    {if $row->payment == 3} 扫码支付 {/if}
                </td>
                <td style="text-align: center; vertical-align: middle; ">{$row->vip_amount}</td>
                <td style="text-align: center; vertical-align: middle; ">{if $row->user_coupon}{$row->user_coupon->coupon_name}{/if}</td>
                <td style="text-align: center; vertical-align: middle; ">{$row->discount_amount}</td>
                <td style="text-align: center; vertical-align: middle; ">{$row->total_amount}</td>
                <td style="text-align: center; vertical-align: middle; ">{$vo->total_money}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
